import request from "../utils/request.js";

export type paginate = {
    page:number
    per_page:number
}
export function getFileList(params:paginate){
    return request({
        url: '/file/list',
        method: 'get',
        params
    })
}

export function deteleFile(id:number){
    return request({
        url: `/file/${id}`,
        method: 'delete',
    })
}
